package com.mlnx.device.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mlnx.common.form.PageForm;
import com.mlnx.device.entity.BpDevice;
import com.mlnx.device.pojo.dto.BpDeviceDto;
import com.mlnx.device.pojo.form.BpDeviceFilterForm;
import com.mlnx.device.pojo.form.BpDeviceForm;

import java.util.List;

public interface BpDeviceService extends IBaseService<BpDevice> {

    void addBpDevice(BpDeviceForm bpDeviceForm,Integer userId);

    Page<BpDeviceDto> list(PageForm pageForm, BpDeviceFilterForm bpDeviceFilterForm);

    List<BpDeviceDto> listOnlines(BpDeviceFilterForm bpDeviceFilterForm);

    void updateBpDevice(Integer id, BpDeviceForm bpDeviceForm);

}
